#include <stdio.h>

int main(int argc, char const *argv[])
{
	int a =10;

	int *p = &a;

	*p = 111;
	printf("a = %d\n", a);
	int *q = p;
	*q = 222;


	printf("a = %d\n", a);


	return 0;
}